From: OpenJDK Team Date: Mon, 8 Jun 2026 00:05:35 +0000 (+1200) Subject: s390x-opt X-Git-Tag: archive/raspbian/25.0.5_7ea-1+rpi1~2^2^2~33 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=d61afe24a8fbbd4bfed16af1bbe358cb3843743f;p=openjdk-25.git s390x-opt Gbp-Pq: Name s390x-opt.diff --- diff --git a/make/autoconf/flags-cflags.m4 b/make/autoconf/flags-cflags.m4 index ab8c48e16..23e7ab1da 100644 --- a/make/autoconf/flags-cflags.m4 +++ b/make/autoconf/flags-cflags.m4 @@ -821,6 +821,9 @@ AC_DEFUN([FLAGS_SETUP_CFLAGS_CPU_DEP], fi elif test "x$FLAGS_CPU" = xs390x; then $1_CFLAGS_CPU="-mbackchain -march=z10" + if test "x$VENDOR_FLAGS_CPU" != x; then + $1_CFLAGS_CPU="-mbackchain $VENDOR_FLAGS_CPU" + fi fi if test "x$FLAGS_CPU_ARCH" != xarm && test "x$FLAGS_CPU_ARCH" != xppc; then